package com.warren.system.service.impl;

import com.warren.system.entity.Log;
import com.warren.system.mapper.LogMapper;
import com.warren.system.service.LogService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>
 * 操作日志表 服务实现类
 * </p>
 *
 * @author warren
 * @since 2021-04-18
 */
@Service
public class LogServiceImpl extends ServiceImpl<LogMapper, Log> implements LogService {

    @Resource
    private LogMapper logMapper;

    @Override
    public void saveLog(Log log) {
        logMapper.insert(log);
    }
}
